-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Read geometry information from t8code #1900
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Very cool feature, looking forward to it 😊 |
Moved the cubed sphere constructor here, making use of the new very convenient constructor which sets up |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1900 +/- ##
==========================================
- Coverage 96.09% 96.09% -0.00%
==========================================
Files 453 453
Lines 36461 36481 +20
==========================================
+ Hits 35036 35055 +19
- Misses 1425 1426 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…mework/Trixi.jl into feature-t8code-curved-geometry
The PR is feature complete but needs some testing, reviewing and polishing. Furthermore, this PR depends on the latest developments in t8code, namely t8code version 2... The release is not public yet as are the Julia bindings for that. Hence, this PR has to wait for the t8code release before being ready for merging. |
@benegee Please test your elixirs and add them to the test harness. |
it refers to level of refinement in lat lon direction, not number of tree as in the p4est version
I added the tests. But I will need to adapt the error figures once the CI jobs are running. |
Co-authored-by: Benedict <[email protected]>
Co-authored-by: Benedict <[email protected]>
Co-authored-by: Benedict <[email protected]>
Co-authored-by: Benedict <[email protected]>
Co-authored-by: Joshua Lampert <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I just had a quick look at some parts. It would be great to get a full review from @sloede
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First part of my review - I still need to finish src/meshes/t8code_mesh.jl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second (and final) part of my review.
Overall I think there is not much to change, so this should be good to merge soon!
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
…mework/Trixi.jl into feature-t8code-curved-geometry
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
…mework/Trixi.jl into feature-t8code-curved-geometry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, LGTM!
@ranocha would you like to take a look as well? otherwise, this can be merged |
This PR adds geometry information retrieval from t8code into Trixi datastructures. As of now, only for Quads and Hexs.
The following idea might be implemented in the future. But there is no real use case right now.
Currently, geometry information is read in during initialization phase. The plan is to change this such that the geometry information is retrieved whenever the mesh changes due to adaptation. This gives much more flexibility and has some other advantages. Thus, this PR is still a draft.